home *** CD-ROM | disk | FTP | other *** search
- Path: usamrid.innovsoftd.com!news
- From: "David A. Peterson" <dpeterso@mail.isd.net>
- Newsgroups: comp.lang.c
- Subject: Re: Leap Years
- Date: Wed, 14 Feb 1996 08:20:10 -0600
- Organization: Applied Systems, Inc.
- Message-ID: <3121EF9A.CA5@mail.isd.net>
- References: <8BA8405.02C70020E1.uuout@sourcebbs.com> <4fsk14$jo2@kocrsv08.delcoelect.com>
- NNTP-Posting-Host: pm2e-1-214.innovsoftd.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- Richard E. Fiegle wrote:
- >
- > david.mohorn@sourcebbs.com (DAVID MOHORN) wrote:
- > >How do you feature out leap years? If its evenly divisible by 400 and
- > >4?
- > >
- >
- > Anything divisible by 4 is already guaranteed to be
- > divisible by 400.
-
-
- Leap years are evenly divisible by 4, except those that are evenly divisible by 100.
- Leap centuries are evenly divisible by 400. 2000 will be a leap century!
- --
- "Where's the user's manual for this thing, anyway?" -- newbie
- dpeterso@isd.net
-